package com.ruoyi.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.system.domain.quality.QualityWarehouseWarrant;

import java.util.List;

/**
 * @author GE-LV5
 * @create 2023/3/1 11:25
 * =========入库单==============
 */
public interface IQualityWarehouseWarrantService  extends IService<QualityWarehouseWarrant> {

    /**
     * 查询入库单
     *
     * @param warrant 入库单
     */
    public List<QualityWarehouseWarrant> selectTransferSlipList(QualityWarehouseWarrant warrant);

    /**
     * 批量入库单
     *
     * @param ids 需要删除的区域主键集合
     * @return 结果
     */
    public int deleteSetAreaByIds(List<Long> ids);


    /**
     * 删除入库单
     * @param id
     * @return
     */
    public int deleteEquipmentLedgerById(Long id);


    /**
     * 新增入库单
     *
     * @param warrant 入库单
     * @return 结果
     */
    public int insertEquipmentLedger(QualityWarehouseWarrant warrant);
    /**
     * 修改入库单
     *
     * @param warrant 入库单
     * @return 结果
     */
    public int updateOrdersManual(QualityWarehouseWarrant warrant);


    public QualityWarehouseWarrant  warehouseById(Long id);

}
